<template>
    <span style="display:inline-block">
        <img :src="currentSrc" style="width:100%;vertical-align:middle" />
    </span>
</template>

<script setup>
import IconDefault from '../assets/icons/icon.svg'
import { onMounted } from 'vue'
// import IconFolder from '../assets/icons/folder.svg'
import { ref } from '@vue/reactivity'
const currentSrc = ref(IconDefault);
const props = defineProps({
    file: null
})
onMounted(() => {
    console.log(props.file)
})
</script>

<style>
</style>